package com.sxj.corejava.code14_设计模式;

/**
 * @author 石小俊
 */
public class Test01 {

    public static void main(String[] args) {
        SomeBean someBean = SomeBean.getInstance();
        SomeBean someBean2 = SomeBean.getInstance();
        System.out.println(someBean);
        System.out.println(someBean2);
        System.out.println(someBean == someBean2);
    }

}
